x86/build: limit rebuilding of asm-offsets.h
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:12:15 +0000 (13:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:12:15 +0000 (13:12 +0100)
commit7d2d7a43d0141de69d837854ce139bcd47a7b859
treed2ccc068a9b82bb54b98e26c6fc2a03c6907654b
parent16ca5b3f873f17f4fbdaecf46c133e1aa3d623b2
x86/build: limit rebuilding of asm-offsets.h

This file has a long dependencies list (through asm-offsets.[cs]) and a
long list of dependents. IOW if any of the former changes, all of the
latter will be rebuilt, even if there's no actual change to the
generated file. This is the primary scenario we have the move-if-changed
macro for.

Since debug information may easily cause the file contents to change in
benign ways, also avoid emitting this into the output file.

Finally already before this change *.new files needed including in what
gets removed by the "clean" target.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/Makefile